﻿<u:UDialog x:Class="UTable.Objects.ChooseShareTargetDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:u="clr-namespace:UTable.Objects.Controls;assembly=UTable.Core"
    xmlns:uc="clr-namespace:UTable.Objects.Controls"
    Height="250" Width="300">
    <u:UDialog.Resources>
        <DataTemplate x:Key="List2Tempalate">
            <u:UButton Height="50" Width ="150" Content="{Binding}" HorizontalAlignment="Center" Pressed="UButton_Pressed"/>
        </DataTemplate>
    </u:UDialog.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="247*" />
        </Grid.RowDefinitions>
        <TextBlock Foreground="White" FontSize="20" Text="Choose Share Target" HorizontalAlignment="Center" Margin="0,10,0,12.4" Width="183.21" />
        <u:UListBox x:Name="TargetList" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0, 10, 0, 0" ItemTemplate="{StaticResource List2Tempalate}">
            
        </u:UListBox>
    </Grid>
</u:UDialog>
